//
//  UITableView+YCTools.h
//  Pods
//
//  Created by Apple on 2022/11/3.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UITableView (YCTools)

+ (UITableView *)tableViewWithFrame:(CGRect)frame
                           delegate:(id)delegate
                         dataSource:(id)dataSource;

+ (UITableView *)tableViewWithFrame:(CGRect)frame
                              style:(UITableViewStyle)style
                           delegate:(id)delegate
                         dataSource:(id)dataSource;

+ (UITableView *)tableViewWithFrame:(CGRect)frame
                            bgColor:(UIColor *)bgColor
                           delegate:(id)delegate
                         dataSource:(id)dataSource;

+ (UITableView *)tableViewWithFrame:(CGRect)frame
                            bgColor:(UIColor *)bgColor
                     separatorStyle:(UITableViewCellSeparatorStyle)separatorStyle
                           delegate:(id)delegate
                         dataSource:(id)dataSource;

+ (UITableView *)tableViewWithFrame:(CGRect)frame
                              style:(UITableViewStyle)style
                            bgColor:(UIColor *)bgColor
                     separatorStyle:(UITableViewCellSeparatorStyle)separatorStyle
                           delegate:(id)delegate
                         dataSource:(id)dataSource;

- (void)setupSlideButtonWithFont:(UIFont *)font textColor:(UIColor *)textColor radius:(CGFloat)radius;

@end

NS_ASSUME_NONNULL_END
